package com.example.dog.core.controller;

import com.example.dog.core.annotation.SysLog;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
public class HelloController {
    @GetMapping("hello")
    @SysLog("hello")
    public String hello(){
        return "hello world";
    }
    @SysLog("hello1")
    public String hello1(){
        return "hello world";
    }
}
